import React, { Component } from 'react';
import './head.scss';



class Head extends Component {
	constructor() {
		super()
		this.isiOS = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
	}
	componentDidMount() {

	}
	render() {
		return <div id="head-box">
			{/* {this.isiOS && <div className="iosPadding"></div>} */}
			{this.props.isShow ? <div className="go flex-center"></div> : ''}
			<div className={`header  ${this.props.no} ${this.props.className}`}>{this.props.head}</div>
		</div>;
	}
}

export default Head;

